<?php
class App_Module_Admin_Component_Users_Tpl_Editprofile extends App_Module_Admin_Tpl_Block_Editform
{
	protected $_form = 'entity/profile';
	
	public function GetForm($user)
	{
        $this->user = $user;
		return $this->CreateForm($user);
	}

	protected function GetActionUrl()
	{
		return array('module' => 'admin', 'ctrl' => 'users', 'action' => 'saveprofile');
	}
	
	protected function GetBackUrl()
	{
		return array('module' => 'admin', 'ctrl' => 'users', 'action' => 'profile');
	}
	
	protected function GetHeaderTitle()
	{
		return Mozg_Lang::_('EDIT_PROFILE');
	}
}